package io.renren.modules.jxgkquestion.service;

import io.renren.modules.jxgkquestion.entity.QuestionBankEntity;
import io.renren.modules.jxgkquestion.entity.ScoreDataEntity;

import java.util.List;
import java.util.Map;

public interface QuestionBankService {
    List<QuestionBankEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void deleteBatch(String[] indexs);

    void save(QuestionBankEntity cse);

    QuestionBankEntity queryObject(String index);

    void update(QuestionBankEntity cse);

    List<String> findAllSubjectType();

    List<QuestionBankEntity> findQuestionByDepartmentType(String departmentType);

    ScoreDataEntity findCurrentScoreInfoByIdAndSubject(String scoreStudentId,
                                          String scoreSubjectName);

    void updateScoreAmount(ScoreDataEntity sde);
}
